import request from '../utils/request';

export function getCategory(){
    return request.get('/catalog/index')
}

export function getCategoryTab(id:number){
    return request.get('/catalog/current',{params:{id}})
}
export function getCategoryDetail(id:string){
    return request.get('/goods/category',{params:{id}})
}
export function getCategoryDetailList(page?:string,size?:string,categoryId?:string){
    return request.get('/goods/list',{params:{page,size,categoryId}})
}